<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

	<xsl:template match="permissionsControl/run">
		<div align="right">[<a href="/admin/permissionsControl/add/"><b><gt>add permission</gt></b></a>]</div>
		<br/>
		<xsl:apply-templates/>
		<br/>
		<div align="right">[<a href="/admin/permissionsControl/add/"><b><gt>add permission</gt></b></a>]</div>
	</xsl:template>

	<xsl:template match="sqlTable/head/column[position()=1]" priority="1"/>
	<xsl:template match="sqlTable/row/cell[position()=1]" priority="1"/>
	<xsl:template match="sqlTable/row/cell[position()=2]" priority="1">
		<td><xsl:apply-templates/></td>
		<td width="60" align="center">
			<a href="/admin/permissionsControl/edit/{../cell[position()=1]}/"><img src="{$imagesURL}edit_icon.gif" border="0" align="absmiddle"/></a>
			<a href="/admin/permissionsControl/delete/{../cell[position()=1]}/" onclick="return confirm('[gt]Delete?[/gt]');"><img src="{$imagesURL}delete_icon.gif" border="0" align="absmiddle"/></a>
		</td>
	</xsl:template>
	
</xsl:stylesheet>